package com.feature.core.webmvc;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.session.FlushMode;

@ConfigurationProperties(prefix = "spring.session.redis")
public class RedisSessionProperties {
	private FlushMode flushMode;
	private String namespace;
	private Integer timeout;

	public FlushMode getFlushMode() {
		return flushMode;
	}

	public void setFlushMode(FlushMode flushMode) {
		this.flushMode = flushMode;
	}

	public String getNamespace() {
		return namespace;
	}

	public void setNamespace(String namespace) {
		this.namespace = namespace;
	}

	public Integer getTimeout() {
		return timeout;
	}

	public void setTimeout(Integer timeout) {
		this.timeout = timeout;
	}

}
